package com.imooc.pan.lock.zookeeper;

import com.imooc.pan.lock.core.LockConstants;
import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

/**
 *
 */

@Data
@Component
@ConfigurationProperties(prefix = "com.imooc.pan.lock.zookeeper")
public class ZookeeperLockProperties {

    private String host = "127.0.0.2181";

    private String rootPath = LockConstants.R_PAN_LOCK_PATH;

}
